<template>
  <div>
    <el-container>
      <el-header class="menu">
        <Navbar></Navbar>
      </el-header>
      <router-view></router-view>
    </el-container>
  </div>
</template>

<script setup>
import Navbar from '@/components/Navbar/index.vue'
import { watch } from 'vue'
import { useRoute } from 'vue-router'

const route = useRoute()
watch(route, () => {
  return route.fullPath
}, {
  immediate: true
})

</script>

<style lang="scss" scoped>
.menu {
  padding: 0;
}
</style>
